package com.fingard.dsp.bank.directbank.bankInterface;

import com.fingard.dsp.bank.reqrespobj.contract.ReqContract;
import com.fingard.dsp.bank.reqrespobj.contract.ReqQryBatContract;
import com.fingard.dsp.bank.reqrespobj.contract.RetAtsContract;
import com.fingard.dsp.bank.reqrespobj.contract.RetAtsQryBatContract;

/** 
 * 短信签约
 */
public interface IContract {
	/**
	 * 短信签约提交
	 * 
	 * @param p_req
	 * @return
	 * @throws Exception
	 */
	RetAtsContract contract(ReqContract p_req) throws Exception;

    /**
     * 短信签约协议修改
     *
     * @param p_req
     * @return
     * @throws Exception
     */
    RetAtsContract upContract(ReqContract p_req) throws Exception;
	
	/**
	 * 短信签约状态查询
	 * 
	 * @param p_reqQry
	 * @return
	 * @throws Exception
	 */
	RetAtsContract qryContract(ReqContract p_reqQry) throws Exception;

    /**
     * 批量短信签约状态查询
     *
     * @param p_reqQry
     * @return
     * @throws Exception
     */
	RetAtsQryBatContract qryBatContract(ReqQryBatContract p_reqQry) throws Exception;
}